package cn.edu.nit.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @Author xiaobai
 * @Date 2022/11/26 20:24
 * @Version 1.0.0
 */
@Data
@TableName("sys_clazz")
public class Clazz {

    @TableId(type = IdType.ASSIGN_ID)
    private String id;
    private String name;
    private Integer volume;
    private String deptId;
    private String dept;
    private String majorId;
    private String major;
    private String teacherId;
    private String teacher;
    private String year;
    private String createTime;

    @TableField(exist = false)
    private String did;
    @TableField(exist = false)
    private String dname;
    @TableField(exist = false)
    private String tid;
    @TableField(exist = false)
    private String tname;
}
